package cn.gemframe.config.office;

import com.aspose.cells.License;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class GemFrameCellsLicense {

    public static boolean getLicense() {
        boolean result = true;
		License license = new License();
		try {
			license.setLicense(GemFrameLicenseConfig.licenseConfig());
		} catch (Exception e) {
			result = false;
			log.error("去除水印异常！");
		}
        return result;
    }
}
